package com.th.supcom.pds.common.client.commom;

import com.google.gwt.core.client.GWT;
import com.th.supcom.pds.drugreturn.client.service.DrugReturnRpc;
import com.th.supcom.pds.drugreturn.client.service.DrugReturnRpcAsync;
import com.th.supcom.pds.drugreturn.client.service.RefundApplicationRpc;
import com.th.supcom.pds.drugreturn.client.service.RefundApplicationRpcAsync;
import com.th.supcom.pds.outdrugreturnapply.client.service.OutDrugReturnApplyRpc;
import com.th.supcom.pds.outdrugreturnapply.client.service.OutDrugReturnApplyRpcAsync;

/**
 * PdsPrescDetail 控制器.
 * 
 * 处方明细.
 */
public final class PdsAuditPrescServiceFactory2
{
    /** RPC请求路径. */
    public static final String BASE_URL = "../pds/";

    private static class DrugReturnRpcAsyncHolder
    {
        private static DrugReturnRpcAsync s_async = GWT.create (DrugReturnRpc.class);
    }

    private static class RefundApplicationRpcAsyncHolder
    {
        private static RefundApplicationRpcAsync s_async = GWT.create (RefundApplicationRpc.class);
    }

    private static class OutDrugReturnApplyRpcAsyncHolder
    {
        private static OutDrugReturnApplyRpcAsync s_async = GWT.create (OutDrugReturnApplyRpc.class);
    }

    public static OutDrugReturnApplyRpcAsync getOutDrugReturnApplyService ()
    {
        return OutDrugReturnApplyRpcAsyncHolder.s_async;
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    public static DrugReturnRpcAsync getDrugReturnService ()
    {
        return DrugReturnRpcAsyncHolder.s_async;
    }

    public static RefundApplicationRpcAsync getRefundApplicationService ()
    {
        return RefundApplicationRpcAsyncHolder.s_async;
    }

    private PdsAuditPrescServiceFactory2 ()
    {

    }

}